Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

CSG IDs

A drawing engine may support CSG IDs that determine what number a drawing engine assigns to triangles submitted for drawing. You specify an engine's CSG ID by assigning a value to its kQATag_CSGTag state variable. The default value of this variable for a drawing engine that supports CSG is kQACSGTag_None . You can use the following constants to specify a CSG ID.

#define kQACSGTag_None                              0xffffffffUL
#define kQACSGTag_0                                 0
#define kQACSGTag_1                                 1
#define kQACSGTag_2                                 2
#define kQACSGTag_3                                 3
#define kQACSGTag_4                                 4

Constant descriptions

kQACSGTag_None
Do not assign CSG IDs to submitted triangles.
kQACSGTag_0
Submitted triangles have the CSG ID 0.
kQACSGTag_1
Submitted triangles have the CSG ID 1.
kQACSGTag_2
Submitted triangles have the CSG ID 2.
kQACSGTag_3
Submitted triangles have the CSG ID 3.
kQACSGTag_4
Submitted triangles have the CSG ID 4.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |